home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 18 code / Hierarchical Lists / ListInAList MPW.PPC.make < prev    next >
Encoding:
Text File  |  1994-03-16  |  1.8 KB  |  73 lines  |  [TEXT/MPS ]

  1. #
  2. # ListInAList
  3. # Copyright © 1993-94, Apple Computer Inc.
  4. #
  5. # This Makefile builds ListInAList for Power PC using the FastTrack
  6. # PowerPC development system.
  7. #
  8. Src                    =    ":Src:"
  9. Obj                    =    ":PPCObj:"
  10. Objects                =                        ∂
  11.         {Obj}EnumerateHFSCatalog.c.o        ∂
  12.         {Obj}Main.c.o                        ∂
  13.         {Obj}SpinCursor.c.o                    ∂
  14.         {Obj}TwistDownList.c.o                ∂
  15.         {Obj}WindowManager.c.o
  16.  
  17. #
  18. # Directory dependencies. "Everything in the {Obj} directory depends on something
  19. # in the {Src} directory." Note: you can throw away the contents of the {Obj}
  20. # directory if you want to rebuild from scratch.
  21. #
  22. {Obj}            ƒ    {Src}
  23.  
  24. #
  25. # Compiler dependencies -- common to all compilations The idea here is that all
  26. # sources are stored in the {Src} subdirectory, and all objects and code resources
  27. # output by the linker or Rez are stored in the {Obj} subdirectory. Note that
  28. # we define MPW to simplify portability: this sample compiles under Think C,
  29. # MPW, MetroWorks C/68000, MetroWorks C/PPC, and Macintosh on Risk (FastTrack).
  30. #
  31. .c.o ƒ .c                                    ∂
  32.         {Src}ListInAList.h                    ∂
  33.         {Src}TwistDownList.h
  34.     PPCC -sym on -appleext on -d MPW        ∂
  35.         -o {TargDir}{Default}.c.o            ∂
  36.         {DepDir}{Default}.c
  37.  
  38. #
  39. # Build the application.
  40. #
  41. "ListInAList MPW.PPC" ƒƒ                    ∂
  42.         MakeFile                            ∂
  43.         {Src}ListInAList.r
  44.     Rez                                        ∂
  45.         {Src}ListInAList.r                    ∂
  46.         -append                                ∂
  47.         -t APPL                                ∂
  48.         -i "{CIncludes}"                    ∂
  49.         -i "{RIncludes}"                    ∂
  50.         -d __powerc=1                        ∂
  51.         -o {targ}
  52.  
  53. "ListInAList MPW.PPC" ƒƒ  ListInAList.xcoff
  54.     MakePEF                                    ∂
  55.         {deps}                                ∂
  56.         -l InterfaceLib.xcoff=InterfaceLib    ∂
  57.         -l StdCLib.xcoff=StdCLib            ∂
  58.         -o {targ}                            ∂
  59.         -ft APPL -fc '????'
  60.  
  61. "ListInAList.xcoff" ƒ                        ∂
  62.         MakeFile                            ∂
  63.         {Objects}
  64.     PPCLink                                    ∂
  65.         {Objects}                            ∂
  66.         "{PPCLibraries}"StdCLib.xcoff        ∂
  67.         "{PPCLibraries}"InterfaceLib.xcoff    ∂
  68.         "{PPCLibraries}"PPCCRuntime.o        ∂
  69.         -main main ∂
  70.         -o {targ}
  71.  
  72.  
  73.